.class public Lcom/instagram/e/b/a/a;
.super Ljava/lang/Object;
.source "FragmentNavigator.java"


# instance fields
.field private final a:Landroid/support/v4/app/r;

.field private b:Landroid/support/v4/app/Fragment;

.field private c:Landroid/os/Bundle;

.field private d:Ljava/lang/String;

.field private e:Z

.field private f:Ljava/lang/String;

.field private g:Z

.field private h:Ljava/lang/String;

.field private i:I

.field private j:I


# direct methods
.method public constructor <init>(Landroid/support/v4/app/r;)V
    .locals 2
    .parameter

    .prologue
    const/4 v1, -0x1

    .line 42
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 34
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/instagram/e/b/a/a;->e:Z

    .line 35
    const/4 v0, 0x0

    iput-object v0, p0, Lcom/instagram/e/b/a/a;->f:Ljava/lang/String;

    .line 36
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/instagram/e/b/a/a;->g:Z

    .line 39
    iput v1, p0, Lcom/instagram/e/b/a/a;->i:I

    .line 40
    iput v1, p0, Lcom/instagram/e/b/a/a;->j:I

    .line 43
    iput-object p1, p0, Lcom/instagram/e/b/a/a;->a:Landroid/support/v4/app/r;

    .line 44
    return-void
.end method

.method private a(Lcom/instagram/e/b/a/b;)V
    .locals 5
    .parameter

    .prologue
    const/4 v4, -0x1

    .line 64
    iget-object v0, p0, Lcom/instagram/e/b/a/a;->a:Landroid/support/v4/app/r;

    sget v1, Lcom/facebook/aw;->layout_container_main:I

    invoke-virtual {v0, v1}, Landroid/support/v4/app/r;->a(I)Landroid/support/v4/app/Fragment;

    move-result-object v0

    .line 65
    instance-of v1, v0, Lcom/instagram/b/d;

    if-eqz v1, :cond_0

    .line 66
    invoke-static {}, Lcom/instagram/b/a;->a()Lcom/instagram/b/c;

    move-result-object v1

    check-cast v0, Lcom/instagram/b/d;

    iget-object v2, p0, Lcom/instagram/e/b/a/a;->a:Landroid/support/v4/app/r;

    invoke-virtual {v2}, Landroid/support/v4/app/r;->f()I

    move-result v2

    iget-object v3, p0, Lcom/instagram/e/b/a/a;->h:Ljava/lang/String;

    invoke-interface {v1, v0, v2, v3}, Lcom/instagram/b/c;->a(Lcom/instagram/b/d;ILjava/lang/String;)V

    .line 72
    :cond_0
    iget-object v0, p0, Lcom/instagram/e/b/a/a;->c:Landroid/os/Bundle;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/instagram/e/b/a/a;->c:Landroid/os/Bundle;

    invoke-virtual {v0}, Landroid/os/Bundle;->isEmpty()Z

    move-result v0

    if-nez v0, :cond_1

    .line 73
    iget-object v0, p0, Lcom/instagram/e/b/a/a;->b:Landroid/support/v4/app/Fragment;

    iget-object v1, p0, Lcom/instagram/e/b/a/a;->c:Landroid/os/Bundle;

    invoke-virtual {v0, v1}, Landroid/support/v4/app/Fragment;->g(Landroid/os/Bundle;)V

    .line 76
    :cond_1
    iget-object v0, p0, Lcom/instagram/e/b/a/a;->a:Landroid/support/v4/app/r;

    invoke-virtual {v0}, Landroid/support/v4/app/r;->a()Landroid/support/v4/app/af;

    move-result-object v0

    .line 77
    sget-object v1, Lcom/instagram/e/b/a/b;->a:Lcom/instagram/e/b/a/b;

    if-ne p1, v1, :cond_5

    .line 78
    sget v1, Lcom/facebook/aw;->layout_container_main:I

    iget-object v2, p0, Lcom/instagram/e/b/a/a;->b:Landroid/support/v4/app/Fragment;

    iget-object v3, p0, Lcom/instagram/e/b/a/a;->d:Ljava/lang/String;

    invoke-virtual {v0, v1, v2, v3}, Landroid/support/v4/app/af;->a(ILandroid/support/v4/app/Fragment;Ljava/lang/String;)Landroid/support/v4/app/af;

    .line 83
    :cond_2
    :goto_0
    iget-boolean v1, p0, Lcom/instagram/e/b/a/a;->e:Z

    if-eqz v1, :cond_3

    .line 84
    iget-object v1, p0, Lcom/instagram/e/b/a/a;->f:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/support/v4/app/af;->a(Ljava/lang/String;)Landroid/support/v4/app/af;

    .line 87
    :cond_3
    iget v1, p0, Lcom/instagram/e/b/a/a;->i:I

    if-eq v1, v4, :cond_4

    iget v1, p0, Lcom/instagram/e/b/a/a;->j:I

    if-eq v1, v4, :cond_4

    .line 88
    iget v1, p0, Lcom/instagram/e/b/a/a;->i:I

    iget v2, p0, Lcom/instagram/e/b/a/a;->j:I

    invoke-virtual {v0, v1, v2}, Landroid/support/v4/app/af;->a(II)Landroid/support/v4/app/af;

    .line 91
    :cond_4
    iget-boolean v1, p0, Lcom/instagram/e/b/a/a;->g:Z

    if-eqz v1, :cond_6

    .line 92
    invoke-virtual {v0}, Landroid/support/v4/app/af;->b()I

    .line 97
    :goto_1
    iget-object v0, p0, Lcom/instagram/e/b/a/a;->a:Landroid/support/v4/app/r;

    invoke-virtual {v0}, Landroid/support/v4/app/r;->b()Z

    .line 98
    return-void

    .line 79
    :cond_5
    sget-object v1, Lcom/instagram/e/b/a/b;->b:Lcom/instagram/e/b/a/b;

    if-ne p1, v1, :cond_2

    .line 80
    sget v1, Lcom/facebook/aw;->layout_container_main:I

    iget-object v2, p0, Lcom/instagram/e/b/a/a;->b:Landroid/support/v4/app/Fragment;

    iget-object v3, p0, Lcom/instagram/e/b/a/a;->d:Ljava/lang/String;

    invoke-virtual {v0, v1, v2, v3}, Landroid/support/v4/app/af;->b(ILandroid/support/v4/app/Fragment;Ljava/lang/String;)Landroid/support/v4/app/af;

    goto :goto_0

    .line 94
    :cond_6
    invoke-virtual {v0}, Landroid/support/v4/app/af;->a()I

    goto :goto_1
.end method


# virtual methods
.method public a(Landroid/support/v4/app/Fragment;)Lcom/instagram/e/b/a/a;
    .locals 0
    .parameter

    .prologue
    .line 111
    iput-object p1, p0, Lcom/instagram/e/b/a/a;->b:Landroid/support/v4/app/Fragment;

    .line 112
    return-object p0
.end method

.method public a(Landroid/support/v4/app/Fragment;Landroid/os/Bundle;)Lcom/instagram/e/b/a/a;
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 119
    iput-object p1, p0, Lcom/instagram/e/b/a/a;->b:Landroid/support/v4/app/Fragment;

    .line 120
    iput-object p2, p0, Lcom/instagram/e/b/a/a;->c:Landroid/os/Bundle;

    .line 121
    return-object p0
.end method

.method public a(II)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 167
    iput p1, p0, Lcom/instagram/e/b/a/a;->i:I

    .line 168
    iput p2, p0, Lcom/instagram/e/b/a/a;->j:I

    .line 169
    return-void
.end method

.method public d(Ljava/lang/String;)Lcom/instagram/e/b/a/a;
    .locals 0
    .parameter

    .prologue
    .line 128
    iput-object p1, p0, Lcom/instagram/e/b/a/a;->d:Ljava/lang/String;

    .line 129
    return-object p0
.end method

.method public e(Ljava/lang/String;)Lcom/instagram/e/b/a/a;
    .locals 0
    .parameter

    .prologue
    .line 137
    iput-object p1, p0, Lcom/instagram/e/b/a/a;->h:Ljava/lang/String;

    .line 138
    return-object p0
.end method

.method public e()V
    .locals 1

    .prologue
    .line 51
    sget-object v0, Lcom/instagram/e/b/a/b;->b:Lcom/instagram/e/b/a/b;

    invoke-direct {p0, v0}, Lcom/instagram/e/b/a/a;->a(Lcom/instagram/e/b/a/b;)V

    .line 52
    return-void
.end method

.method public f()Lcom/instagram/e/b/a/a;
    .locals 1

    .prologue
    .line 145
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/instagram/e/b/a/a;->e:Z

    .line 146
    return-object p0
.end method

.method public f(Ljava/lang/String;)Lcom/instagram/e/b/a/a;
    .locals 0
    .parameter

    .prologue
    .line 153
    iput-object p1, p0, Lcom/instagram/e/b/a/a;->f:Ljava/lang/String;

    .line 154
    return-object p0
.end method

.method public g()Lcom/instagram/e/b/a/a;
    .locals 1

    .prologue
    .line 162
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/instagram/e/b/a/a;->g:Z

    .line 163
    return-object p0
.end method

.method protected h()Landroid/os/Bundle;
    .locals 1

    .prologue
    .line 172
    iget-object v0, p0, Lcom/instagram/e/b/a/a;->c:Landroid/os/Bundle;

    if-nez v0, :cond_0

    .line 173
    new-instance v0, Landroid/os/Bundle;

    invoke-direct {v0}, Landroid/os/Bundle;-><init>()V

    iput-object v0, p0, Lcom/instagram/e/b/a/a;->c:Landroid/os/Bundle;

    .line 175
    :cond_0
    iget-object v0, p0, Lcom/instagram/e/b/a/a;->c:Landroid/os/Bundle;

    return-object v0
.end method
